/* Hero Section Styles */
.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 2rem;
    background-color: #202020;
    color: #f1f1f1;
    min-height: 80vh;
    gap: 10rem; /* Increase the gap between content and image */
    position: relative;
    overflow: hidden;
}

.hero::before, .hero::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(214, 28, 78, 0.1), rgba(2, 246, 151, 0.1));
    z-index: -2;
    transform: scale(2);
    animation: rotateBackground 20s linear infinite;
}


.hero-content {
    max-width: 45%;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeIn 2s ease forwards;
}


.hero-content .welcome {
    color: #02f697;
    font-weight: 700;
}

.hero-content .name {
    font-size: 4rem;
    background: linear-gradient(to right, #02f697, #d61c4e);
    -webkit-background-clip: text;
    color: transparent;
    animation: fadeIn 2.5s ease forwards;
}

.hero-content .subtitle {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    animation: fadeIn 3s ease forwards;
    color: #ff8c00; /* Adding a vibrant color */
}

.hero-content .description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    animation: fadeIn 3.5s ease forwards;
    color: #ddd;
}

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: 50%;
    width: 500px; /* Increase size */
    height: 500px; /* Increase size */
    object-fit: cover;
    border: 5px solid #02f697;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
    animation: zoomIn 2s ease forwards;
}

.hero-image img:hover {
    transform: scale(1.1);
}


.hero-image .circle {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 550px; /* Increase size */
    height: 550px; /* Increase size */
    background-color: rgba(214, 28, 78, 0.1);
    border-radius: 50%;
    z-index: -1;
    animation: grow 2.5s ease forwards;
}

.social-buttons {
    display: flex;
    gap: 1rem;
    animation: fadeIn 4s ease forwards;
}

.social-btn {
    display: flex;
    align-items: center;
    background-color: #02f697;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    color: #18122B;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-btn i {
    margin-right: 0.5rem;
}

.social-btn:hover {
    background-color: #02b57c;
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2rem;
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 2rem;
    }

    .hero-image img {
        width: 300px;
        height: 300px;
    }

    .hero-image .circle {
        width: 350px;
        height: 350px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content .subtitle {
        font-size: 1.25rem;
    }

    .hero-content .description {
        font-size: 1rem;
    }
}

/* Keyframes for animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

@keyframes grow {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}
